import glob
import os
from pathlib import Path

from tools import mkdir

objectPath = Path(__file__).absolute().parent.parent
cachePath = objectPath / 'cache'
imagesPath = cachePath / 'images'
sqlitePath = cachePath / 'cache.db'
configJsonPath = objectPath / 'config' / 'config.json'

picture_type = ['.jpg', '.jpeg', '.png', '.svg']

LogFile = cachePath / 'Log'
log_fmt = '%(name)s -%(asctime)s - %(levelname)s - %(message)s'

mkdir(imagesPath)
mkdir(LogFile)
